import React from 'react'
import { HashRouter, Route , Routes, Navigate } from 'react-router-dom'
import Main from '../pages/Main'
import Help from '../pages/help/Help'

export default function IndexRouter() {
  return (
          <Routes>
            <Route path="/main" element={<Main/>} />
            <Route path="/help" element={<Help/>} />
            <Route path="/" element={ <Navigate to="/main"/>}/>
          </Routes>
  )
}
